const articleDetailReducer = (state = {
	isFetching: false
}, action) => {
	switch (action.type) {
		case "RECEIVE_DETAIL_DATA":
			console.log("articleDetailReducer")
			return Object.assign({}, state, {
				isFetching: false,
				item: action.item
			})
		case "DELETE_ARTICLE_SUCCESS":
			return state
		default:
			return state
	}
}

export default articleDetailReducer